<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>5-布尔类型Boolean</title>
	</head>
	<body>
		<script type="text/javascript">
			var flag = true;//1
			var slice = false;//0
			var total = flag+1;//2
			var total2 = slice+1;//1
			
			alert(total+"===="+total2);
		</script>
	</body>
</html>
